<?php
session_start();


include_once($_SERVER['DOCUMENT_ROOT'] ."/include/user/inc.php");
include_once($_SERVER['DOCUMENT_ROOT'] ."/include/mblog/inc.php");
include_once( $_SERVER['DOCUMENT_ROOT']  . '/mblog/inc.php' );



//当前用户信息

$user_info = new user_info();
$is_login = $user_info->is_logined();

if($is_login)
{
	$user_detail_info = $user_info->get_cur_user_info();
	$uid = $user_detail_info["uid"];
	$user_nickname = $user_detail_info["user_nickname"];
	$g_show["current_user_info"] = $user_detail_info;
	$g_show["is_logined"] = true;
}

/*else
{
	$g_show["is_logined"] = false;
	$url = "/user/login.php?url=/tucao/";
	header("Location:$url");
	exit;
}*/








$smarty = p_get_smarty();	
$smarty->assign("g_show", $g_show);

$smarty->display("user/manage/user_rt_mblog_detail.html");

if (isset($_GET["debug"]))
{
	print_r($_COOKIE);
	print_r($g_show);
}

